package bridge;

import bridge.common.AbstractSwitch;
import bridge.common.sub.CrystalLight;
import bridge.common.sub.IncandescentLight;

public class CommonClient {

	public static void main(String[] args) {

		AbstractSwitch light = new IncandescentLight();
		CrystalLight light2 = new CrystalLight();

		System.out.println("--一般开关");
		light.makeLight();

		System.out.println("--遥控开关");
		light2.makeRemoteLight(3);
	}

}
